package week3;

public class Overriding extends Object{
	private int x = 5;
	public String toString(){
		return "data member x = " + x;
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Overriding obj = new Overriding();
		System.out.println(" The Overriding object has " + obj );
	}

}
